/**
 * 根据共同的配置修改或者直接自定义个性化的配置
 */

import {
  commonProtoConfig,
  defaultChartOptions,
} from '@/components/common/VisualizationComp/ChartConfig/common'

const {
  titleConfig,
  // rightLegendConfig,
  // tooltipConfig,
  themeColorDiscreteConfig,
} = commonProtoConfig

export const protoConfig = [
  {
    label: '',
    type: 'property',
    children: [
      ...titleConfig,
      {
        type: 'inputNumber',
        label: '仪表起始值',
        name: 'startNumber',
      },
      {
        type: 'inputNumber',
        label: '仪表终止值',
        name: 'startNumber',
      },
      // ...xAxis,
      // ...yAxis,
      // ...rightLegendConfig,
      // ...tooltipConfig,
      ...themeColorDiscreteConfig,
    ],
  },
]
/**
 * 图表渲染的默认配置
 */
export const defaultOptions = {
  ...defaultChartOptions,
}
